﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddCategory.aspx.cs" Inherits="Admin_CategoryMgr_AddCategory" %>

<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.1, Version=9.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加产品类别</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td>
                    类别名称：
                </td>
                <td>
                    <dxe:ASPxTextBox ID="txtCategoryName" runat="server" Width="170px">
                    </dxe:ASPxTextBox>
                </td>
                <td>
                    *</td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtCategoryName" Display="Dynamic" 
                        ErrorMessage="此项为必填项" ValidationGroup="0"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    所属类别：
                </td>
                <td>
                    <asp:DropDownList ID="drpParentCategory" runat="server">
                    </asp:DropDownList>
                </td>
                <td>
                    </td>
                <td>
                    </td>
            </tr>
            <tr>
                <td>
                    <dxe:ASPxButton ID="btnAdd" runat="server" 
                        onclick="btnAdd_Click" Text="添加类别" ValidationGroup="0">
                    </dxe:ASPxButton>
                </td>
                <td>
                    <dxe:ASPxButton ID="btnReset" runat="server" Text="重置" onclick="btnReset_Click" 
                        CausesValidation="False">
                    </dxe:ASPxButton>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
